package com.cn.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 活动表
 *
 * @author wangjf
 * @version 1.0
 * @createDate 2019/11/18 9:32
 * @projectName test
 */
@Data
public class Activity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String name;
    private Long goodsId;
    private String queueId;
    private Integer status;
    //秒杀数量
    private Integer amount;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
